package com.amigo.online.provider.compare.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.amigo.online.provider.common.entity.VideoMysqlInfo;
import com.amigo.online.provider.compare.mapper.VideoComparisonMapper;
import com.amigo.online.provider.compare.service.VideoComparisonService;


@Service
public class VideoComparisonServiceImpl implements VideoComparisonService {

    @Autowired
    VideoComparisonMapper videoComparisonMapper;

    @Override
    public int getMaxId() {
        //  Auto-generated method stub
        return 0;
    }

    @Override
    public List<VideoMysqlInfo> listVideoInfoWithNumber(int randomComparsionNumber) {

        return videoComparisonMapper.listVideoInfoWithNumber(randomComparsionNumber);
    }

}
